<!-- blackcat: header -->
<blackcat-header>
  <div class="blackcat-wrapper">
  <div class="blackcat-logo item">
    <a href="https://www.cnblogs.com/blackcat/"><span>无敌颓废黑猫</span></a>
  </div>
  <ul class="blackcat-menu blackcat-link-links item">
    <li><a href="https://www.cnblogs.com/blackcat/"><span>Home</span></a></li>
    <li class="hide-xs"><a href="https://i.cnblogs.com/EditPosts.aspx?opt=1"><span>Take Note</span></a></li>
    <li class="hide-xs"><a href="https://i.cnblogs.com/"><span>Setting</span></a></li>
  </ul>
  <ul class="blackcat-menu blackcat-link-links item r">
    <li class="hide-xs"><a blackcat-event="search"><span>
      <svg height="1em" width="1em" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"><g><circle cx="10.5" cy="10.5" r="7.5"></circle><line x1="21" y1="21" x2="15.8" y2="15.8"></line></g></svg>
      <span>Search</span>
    </span></a></li>
    <li><a href="https://github.com/hezulong1" target="_blank"><span>
      <svg class="hide-xs" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em"><path d="M855.552 216.864c35.616-66.144-5.088-152.672-5.088-152.672-91.584 0-157.76 61.056-157.76 61.056-35.616-20.352-152.672-20.352-152.672-20.352s-117.056 0-152.672 20.352c0 0-66.144-61.056-157.76-61.056 0 0-40.704 86.496-5.088 152.672 0 0-81.408 76.32-50.88 239.168 28.704 153.024 162.848 193.376 249.344 193.376 0 0-35.616 30.528-30.528 81.408 0 0-50.88 30.528-101.76 10.176S214.368 669.76 214.368 669.76s-50.88-66.144-101.76-40.704c0 0-15.264 15.264 40.704 40.704 0 0 40.704 61.056 55.968 96.672s96.672 66.144 178.112 45.792v117.024s0 10.176-20.352 15.264-20.352 15.264-10.176 15.264h366.4c10.176 0 10.176-10.176-10.176-15.264s-20.352-15.264-20.352-15.264v-117.024s0.448-61.024 0-81.408c-1.12-51.136-35.616-81.408-35.616-81.408 86.496 0 220.64-40.352 249.344-193.376 30.528-162.848-50.88-239.168-50.88-239.168z" p-id="5594"></path></svg>
      <span>GitHub</span>
      </span><blackcat-extra class="hide-xs"><svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,1)"><rect id="bg" fill="rgba(0, 0, 0, .15)" x="0" y="2" width="9" height="9" rx="1.5"></rect><path d="M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z" id="arrow" fill="#18191b"></path></g></svg></blackcat-extra></a></li>
    </ul>
  </div>
</blackcat-header>

<!-- start: BlackCat PageHeader -->

<script>
  const icons = {
  'left-layout': '<span role="img"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icons"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line></svg></span>',
  fullscreen: '<span role="img"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icons"><path d="M8 3H5a2 2 0 00-2 2v3m18 0V5a2 2 0 00-2-2h-3m0 18h3a2 2 0 002-2v-3M3 16v3a2 2 0 002 2h3"></path></svg></span>',
  'fullscreen-exit': '<span role="img"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icons"><path d="M8 3v3a2 2 0 01-2 2H3m18 0h-3a2 2 0 01-2-2V3m0 18v-3a2 2 0 012-2h3M3 16h3a2 2 0 012 2v3"></path></svg></span>',
  help: '<span role="img"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icons mr-2"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></svg></span>',
}
const createButtonDOM = text => `<button type="button" role="button" aria-label="Button" tabindex="0">${text}</button>`
// 加载徽标
const loadFaviour = () => {

}
loadFaviour()
  (() => {
    const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
    const setting = localStorage.getItem('cnblogs-color-scheme') || 'auto'
    if (setting === 'dark' || (prefersDark && setting !== 'light')) { document.documentElement.classList.toggle('dark', true) }
  })()
</script>

<!-- end: BlackCat PageHeader -->
